﻿<div class="page-heading">
		<h1>Quản lý danh sách đối tác</h1>
</div>
<div class="page-content">
    <div class="msg-box hidden" id="msg-newsdelete">
        <span class="msg">Xóa đối tác thành công.</span>
    </div>
    <div class="error-box hidden" id="err-newsdelete">
        Có lỗi xảy ra. Không thể xóa được đối tác.
    </div>
    <div class="top-row _right">
        <a class="button" href="{BaseUrl}/admin/addpartner">Thêm đối tác</a>
    </div>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" class="list-table">
        <thead>
            <tr>
                <th class="table-header-check">ID</th>
                <th class="table-header-repeat line-left minwidth-2"><span class="th">Tên đối tác</span></th>
                <th class="table-header-repeat line-left minwidth-2"><span class="th">Logo</span></th>
                <th class="table-header-repeat line-left minwidth-2"><span class="th">Website</span></th>
                <th class="table-header-repeat line-left minwidth-2"><span class="th">Loại đối tác</span></th>
                <th class="table-header-repeat line-left">&nbsp;</th>
            </tr>
        </thead>
        <tbody>    
            <fly:list data="partnerlist">
                <tr>
                    <td align="center">{partnerlist.id}</td>
                    <td>{partnerlist.title}</td>
                    <td><img class="partner-img" alt="{partnerlist.title}" src="{ResourceUrl}/{partnerlist.image}" /></td>
                    <td><a href="{partnerlist.description}">{partnerlist.description}</a></td>
                    <td>{partnerlist.catName}</td>
                    <td class="options-width">
					    <a href="{BaseUrl}/admin/editpartner/{partnerlist.id}" title="Sửa" class="icon-1 info-tooltip"></a>
					    <a onclick="return confirm('Bạn có chắc chắn muốn xóa?')" href="{BaseUrl}/admin/deletepartner/{partnerlist.id}" title="Xóa" class="icon-2 info-tooltip"></a>
			        </td>
                </tr>
            </fly:list>
        </tbody>
    </table>
   
</div>

<script type="text/javascript">
   
</script>